﻿#pragma once
#include <windows.h> //for sleep
#include "OrderManagement.h"
#include "Order.h"
#include "FrmPayUI.h"
#include "FrmPickUpUI.h"


enum Items { KidsDrink, SmallDrink, MedDrink, LargeDrink, JumboDrink, KidsFry, SmallFry, MedFry, LargeFry, JumboFry, ChickenBurger, BeefBurger, OtherPie, OtherSundae, OtherToast  };

namespace dtkm {

        using namespace System;
        using namespace System::ComponentModel;
        using namespace System::Collections;
        using namespace System::Windows::Forms;
        using namespace System::Data;
        using namespace System::Drawing;
		
        /// <summary>
        /// This is the UI class for the drive-thru application
        ///
        /// WARNING: If you change the name of this class, you will need to change the
        ///          'Resource File Name' property for the managed resource compiler tool
        ///          associated with all .resx files this class depends on.  Otherwise,
        ///          the designers will not be able to interact properly with localized
        ///          resources associated with this form.
        /// </summary>
        public ref class KioskUI : public System::Windows::Forms::Form
        {
        private: System::Windows::Forms::Button^  btnConfirm;

		private: System::Windows::Forms::Label^  label1;
		public:
                ///This is the current order.
                Order* order;
                bool x;
		private: System::Windows::Forms::Button^  btnCompleteOrder;
		private: System::Windows::Forms::Panel^  panelWelcome;
		private: System::Windows::Forms::Button^  btnChinese;

		private: System::Windows::Forms::Button^  button2;
		private: System::Windows::Forms::Label^  label8;
		private: System::Windows::Forms::Label^  label7;
		private: System::Windows::Forms::Panel^  panelDone;



		private: System::Windows::Forms::Label^  label9;
		private: System::Windows::Forms::Label^  label10;
		private: System::Windows::Forms::Label^  lblOrderNo;
		private: System::Windows::Forms::Timer^  timerDone;
		private: System::Windows::Forms::Label^  label11;
		private: System::Windows::Forms::Label^  label15;
		private: System::Windows::Forms::Label^  label14;
		private: System::Windows::Forms::Label^  label13;
		private: System::Windows::Forms::Label^  label12;

		private: System::Windows::Forms::PictureBox^  pictureBox1;
		private: System::Windows::Forms::Label^  label17;
		private: System::Windows::Forms::PictureBox^  pictureBox2;
		private: System::Windows::Forms::Label^  label16;

		public: 
			int foodItem;
		
                KioskUI(void)
                {
                        InitializeComponent();
                        order = new Order();
                }

        protected:
                /// <summary>
                /// Clean up any resources being used.
                /// </summary>
                ~KioskUI()
                {
                        if (components)
                        {
                                delete components;
                        }
                }
        private: System::Windows::Forms::Panel^  panelMain;
        private: System::Windows::Forms::Button^  btnBurgers;
        private: System::Windows::Forms::Button^  btnFries;
        private: System::Windows::Forms::Button^  btnCombos;
        private: System::Windows::Forms::Button^  btnOther;
        private: System::Windows::Forms::Button^  btnDrinks;
        private: System::Windows::Forms::Panel^  panelDrinkSizes;

        private: System::Windows::Forms::Button^  btnSizeKids;
        private: System::Windows::Forms::Button^  btnSizeLargeDrink;
        private: System::Windows::Forms::Button^  btnSizeSmall;
        private: System::Windows::Forms::Button^  btnSizeMedium;
        private: System::Windows::Forms::Panel^  panelBurgerOptions;
        private: System::Windows::Forms::Label^  label2;
        private: System::Windows::Forms::Button^  btnAddChickenBurger;
        private: System::Windows::Forms::Button^  btnAddBeefBurger;
        private: System::Windows::Forms::Panel^  panelFrySizes;
        private: System::Windows::Forms::Label^  label3;
        private: System::Windows::Forms::Button^  btnSizeJumboFry;
        private: System::Windows::Forms::Button^  btnSizeLargeFry;
        private: System::Windows::Forms::Button^  btnSizeSmallFry;
        private: System::Windows::Forms::Button^  btnSizeMediumFry;
        private: System::Windows::Forms::Panel^  panelOtherStuff;
        private: System::Windows::Forms::Label^  label4;
        private: System::Windows::Forms::Button^  btnOtherSundae;
        private: System::Windows::Forms::Button^  btnOtherPie;
        private: System::Windows::Forms::Button^  btnOtherToast;
        private: System::Windows::Forms::Label^  lblWelcome;
        private: System::Windows::Forms::Panel^  panel1;
        private: System::Windows::Forms::TextBox^  txtOrderList;

        private: System::Windows::Forms::Label^  label5;
        private: System::Windows::Forms::Panel^  panelQuantity;


        private: System::Windows::Forms::Label^  label6;
        private: System::Windows::Forms::TextBox^  tbxQuantity;
		private: System::ComponentModel::IContainer^  components;






        private:
                /// <summary>
                /// Required designer variable.
                /// </summary>


#pragma region Windows Form Designer generated code
                /// <summary>
                /// Required method for Designer support - do not modify
                /// the contents of this method with the code editor.
                /// </summary>
                void InitializeComponent(void)
                {
					this->components = (gcnew System::ComponentModel::Container());
					System::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(KioskUI::typeid));
					this->panelMain = (gcnew System::Windows::Forms::Panel());
					this->label15 = (gcnew System::Windows::Forms::Label());
					this->label14 = (gcnew System::Windows::Forms::Label());
					this->label13 = (gcnew System::Windows::Forms::Label());
					this->label12 = (gcnew System::Windows::Forms::Label());
					this->label11 = (gcnew System::Windows::Forms::Label());
					this->btnBurgers = (gcnew System::Windows::Forms::Button());
					this->lblWelcome = (gcnew System::Windows::Forms::Label());
					this->btnFries = (gcnew System::Windows::Forms::Button());
					this->btnCombos = (gcnew System::Windows::Forms::Button());
					this->btnOther = (gcnew System::Windows::Forms::Button());
					this->btnDrinks = (gcnew System::Windows::Forms::Button());
					this->panelDrinkSizes = (gcnew System::Windows::Forms::Panel());
					this->label1 = (gcnew System::Windows::Forms::Label());
					this->btnSizeKids = (gcnew System::Windows::Forms::Button());
					this->btnSizeLargeDrink = (gcnew System::Windows::Forms::Button());
					this->btnSizeSmall = (gcnew System::Windows::Forms::Button());
					this->btnSizeMedium = (gcnew System::Windows::Forms::Button());
					this->panelBurgerOptions = (gcnew System::Windows::Forms::Panel());
					this->label2 = (gcnew System::Windows::Forms::Label());
					this->btnAddChickenBurger = (gcnew System::Windows::Forms::Button());
					this->btnAddBeefBurger = (gcnew System::Windows::Forms::Button());
					this->panelFrySizes = (gcnew System::Windows::Forms::Panel());
					this->label3 = (gcnew System::Windows::Forms::Label());
					this->btnSizeJumboFry = (gcnew System::Windows::Forms::Button());
					this->btnSizeLargeFry = (gcnew System::Windows::Forms::Button());
					this->btnSizeSmallFry = (gcnew System::Windows::Forms::Button());
					this->btnSizeMediumFry = (gcnew System::Windows::Forms::Button());
					this->panelOtherStuff = (gcnew System::Windows::Forms::Panel());
					this->label4 = (gcnew System::Windows::Forms::Label());
					this->btnOtherSundae = (gcnew System::Windows::Forms::Button());
					this->btnOtherPie = (gcnew System::Windows::Forms::Button());
					this->btnOtherToast = (gcnew System::Windows::Forms::Button());
					this->panel1 = (gcnew System::Windows::Forms::Panel());
					this->label5 = (gcnew System::Windows::Forms::Label());
					this->txtOrderList = (gcnew System::Windows::Forms::TextBox());
					this->panelQuantity = (gcnew System::Windows::Forms::Panel());
					this->btnConfirm = (gcnew System::Windows::Forms::Button());
					this->tbxQuantity = (gcnew System::Windows::Forms::TextBox());
					this->label6 = (gcnew System::Windows::Forms::Label());
					this->btnCompleteOrder = (gcnew System::Windows::Forms::Button());
					this->panelWelcome = (gcnew System::Windows::Forms::Panel());
					this->label17 = (gcnew System::Windows::Forms::Label());
					this->pictureBox2 = (gcnew System::Windows::Forms::PictureBox());
					this->btnChinese = (gcnew System::Windows::Forms::Button());
					this->button2 = (gcnew System::Windows::Forms::Button());
					this->label8 = (gcnew System::Windows::Forms::Label());
					this->label7 = (gcnew System::Windows::Forms::Label());
					this->panelDone = (gcnew System::Windows::Forms::Panel());
					this->label16 = (gcnew System::Windows::Forms::Label());
					this->pictureBox1 = (gcnew System::Windows::Forms::PictureBox());
					this->lblOrderNo = (gcnew System::Windows::Forms::Label());
					this->label9 = (gcnew System::Windows::Forms::Label());
					this->label10 = (gcnew System::Windows::Forms::Label());
					this->timerDone = (gcnew System::Windows::Forms::Timer(this->components));
					this->panelMain->SuspendLayout();
					this->panelDrinkSizes->SuspendLayout();
					this->panelBurgerOptions->SuspendLayout();
					this->panelFrySizes->SuspendLayout();
					this->panelOtherStuff->SuspendLayout();
					this->panel1->SuspendLayout();
					this->panelQuantity->SuspendLayout();
					this->panelWelcome->SuspendLayout();
					(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox2))->BeginInit();
					this->panelDone->SuspendLayout();
					(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox1))->BeginInit();
					this->SuspendLayout();
					// 
					// panelMain
					// 
					this->panelMain->Controls->Add(this->label15);
					this->panelMain->Controls->Add(this->label14);
					this->panelMain->Controls->Add(this->label13);
					this->panelMain->Controls->Add(this->label12);
					this->panelMain->Controls->Add(this->label11);
					this->panelMain->Controls->Add(this->btnBurgers);
					this->panelMain->Controls->Add(this->lblWelcome);
					this->panelMain->Controls->Add(this->btnFries);
					this->panelMain->Controls->Add(this->btnCombos);
					this->panelMain->Controls->Add(this->btnOther);
					this->panelMain->Controls->Add(this->btnDrinks);
					this->panelMain->Location = System::Drawing::Point(12, 12);
					this->panelMain->Name = L"panelMain";
					this->panelMain->Size = System::Drawing::Size(654, 152);
					this->panelMain->TabIndex = 21;
					// 
					// label15
					// 
					this->label15->AutoSize = true;
					this->label15->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(128)));
					this->label15->Location = System::Drawing::Point(557, 117);
					this->label15->Name = L"label15";
					this->label15->Size = System::Drawing::Size(57, 24);
					this->label15->TabIndex = 32;
					this->label15->Text = L"Other";
					// 
					// label14
					// 
					this->label14->AutoSize = true;
					this->label14->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(128)));
					this->label14->Location = System::Drawing::Point(417, 117);
					this->label14->Name = L"label14";
					this->label14->Size = System::Drawing::Size(81, 24);
					this->label14->TabIndex = 31;
					this->label14->Text = L"Combos";
					// 
					// label13
					// 
					this->label13->AutoSize = true;
					this->label13->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(128)));
					this->label13->Location = System::Drawing::Point(295, 117);
					this->label13->Name = L"label13";
					this->label13->Size = System::Drawing::Size(62, 24);
					this->label13->TabIndex = 30;
					this->label13->Text = L"Drinks";
					// 
					// label12
					// 
					this->label12->AutoSize = true;
					this->label12->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(128)));
					this->label12->Location = System::Drawing::Point(172, 117);
					this->label12->Name = L"label12";
					this->label12->Size = System::Drawing::Size(52, 24);
					this->label12->TabIndex = 29;
					this->label12->Text = L"Fries";
					// 
					// label11
					// 
					this->label11->AutoSize = true;
					this->label11->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(128)));
					this->label11->Location = System::Drawing::Point(33, 117);
					this->label11->Name = L"label11";
					this->label11->Size = System::Drawing::Size(76, 24);
					this->label11->TabIndex = 28;
					this->label11->Text = L"Burgers";
					// 
					// btnBurgers
					// 
					this->btnBurgers->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->btnBurgers->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"btnBurgers.Image")));
					this->btnBurgers->Location = System::Drawing::Point(8, 49);
					this->btnBurgers->Name = L"btnBurgers";
					this->btnBurgers->Size = System::Drawing::Size(123, 82);
					this->btnBurgers->TabIndex = 19;
					this->btnBurgers->UseVisualStyleBackColor = true;
					this->btnBurgers->Click += gcnew System::EventHandler(this, &KioskUI::btnBurgers_Click);
					// 
					// lblWelcome
					// 
					this->lblWelcome->AutoSize = true;
					this->lblWelcome->Font = (gcnew System::Drawing::Font(L"Arial Black", 20, System::Drawing::FontStyle::Underline, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->lblWelcome->ForeColor = System::Drawing::Color::Firebrick;
					this->lblWelcome->Location = System::Drawing::Point(23, 8);
					this->lblWelcome->Name = L"lblWelcome";
					this->lblWelcome->Size = System::Drawing::Size(106, 38);
					this->lblWelcome->TabIndex = 26;
					this->lblWelcome->Text = L"MENU";
					this->lblWelcome->Click += gcnew System::EventHandler(this, &KioskUI::lblWelcome_Click);
					// 
					// btnFries
					// 
					this->btnFries->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->btnFries->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"btnFries.Image")));
					this->btnFries->Location = System::Drawing::Point(137, 49);
					this->btnFries->Name = L"btnFries";
					this->btnFries->Size = System::Drawing::Size(123, 82);
					this->btnFries->TabIndex = 20;
					this->btnFries->UseVisualStyleBackColor = true;
					this->btnFries->Click += gcnew System::EventHandler(this, &KioskUI::btnFries_Click);
					// 
					// btnCombos
					// 
					this->btnCombos->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->btnCombos->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"btnCombos.Image")));
					this->btnCombos->Location = System::Drawing::Point(395, 49);
					this->btnCombos->Name = L"btnCombos";
					this->btnCombos->Size = System::Drawing::Size(123, 82);
					this->btnCombos->TabIndex = 21;
					this->btnCombos->UseVisualStyleBackColor = true;
					this->btnCombos->Click += gcnew System::EventHandler(this, &KioskUI::btnCombos_Click);
					// 
					// btnOther
					// 
					this->btnOther->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->btnOther->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"btnOther.Image")));
					this->btnOther->Location = System::Drawing::Point(524, 49);
					this->btnOther->Name = L"btnOther";
					this->btnOther->Size = System::Drawing::Size(123, 82);
					this->btnOther->TabIndex = 23;
					this->btnOther->UseVisualStyleBackColor = true;
					this->btnOther->Click += gcnew System::EventHandler(this, &KioskUI::btnOther_Click);
					// 
					// btnDrinks
					// 
					this->btnDrinks->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->btnDrinks->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"btnDrinks.Image")));
					this->btnDrinks->Location = System::Drawing::Point(266, 49);
					this->btnDrinks->Name = L"btnDrinks";
					this->btnDrinks->Size = System::Drawing::Size(123, 82);
					this->btnDrinks->TabIndex = 24;
					this->btnDrinks->UseVisualStyleBackColor = true;
					this->btnDrinks->Click += gcnew System::EventHandler(this, &KioskUI::btnDrinks_Click);
					// 
					// panelDrinkSizes
					// 
					this->panelDrinkSizes->Controls->Add(this->label1);
					this->panelDrinkSizes->Controls->Add(this->btnSizeKids);
					this->panelDrinkSizes->Controls->Add(this->btnSizeLargeDrink);
					this->panelDrinkSizes->Controls->Add(this->btnSizeSmall);
					this->panelDrinkSizes->Controls->Add(this->btnSizeMedium);
					this->panelDrinkSizes->Location = System::Drawing::Point(15, 545);
					this->panelDrinkSizes->Name = L"panelDrinkSizes";
					this->panelDrinkSizes->Size = System::Drawing::Size(173, 233);
					this->panelDrinkSizes->TabIndex = 22;
					// 
					// label1
					// 
					this->label1->AutoSize = true;
					this->label1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 16.5F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->label1->Location = System::Drawing::Point(0, 14);
					this->label1->Name = L"label1";
					this->label1->Size = System::Drawing::Size(173, 26);
					this->label1->TabIndex = 16;
					this->label1->Text = L"What size drink\?";
					// 
					// btnSizeKids
					// 
					this->btnSizeKids->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->btnSizeKids->Location = System::Drawing::Point(35, 55);
					this->btnSizeKids->Name = L"btnSizeKids";
					this->btnSizeKids->Size = System::Drawing::Size(102, 36);
					this->btnSizeKids->TabIndex = 12;
					this->btnSizeKids->Text = L"Kids";
					this->btnSizeKids->UseVisualStyleBackColor = true;
					this->btnSizeKids->Click += gcnew System::EventHandler(this, &KioskUI::btnSizeKids_Click);
					// 
					// btnSizeLargeDrink
					// 
					this->btnSizeLargeDrink->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->btnSizeLargeDrink->Location = System::Drawing::Point(35, 181);
					this->btnSizeLargeDrink->Name = L"btnSizeLargeDrink";
					this->btnSizeLargeDrink->Size = System::Drawing::Size(102, 36);
					this->btnSizeLargeDrink->TabIndex = 15;
					this->btnSizeLargeDrink->Text = L"Large";
					this->btnSizeLargeDrink->UseVisualStyleBackColor = true;
					this->btnSizeLargeDrink->Click += gcnew System::EventHandler(this, &KioskUI::btnSizeLarge_Click);
					// 
					// btnSizeSmall
					// 
					this->btnSizeSmall->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->btnSizeSmall->Location = System::Drawing::Point(35, 97);
					this->btnSizeSmall->Name = L"btnSizeSmall";
					this->btnSizeSmall->Size = System::Drawing::Size(102, 36);
					this->btnSizeSmall->TabIndex = 13;
					this->btnSizeSmall->Text = L"Small";
					this->btnSizeSmall->UseVisualStyleBackColor = true;
					this->btnSizeSmall->Click += gcnew System::EventHandler(this, &KioskUI::btnSizeSmall_Click);
					// 
					// btnSizeMedium
					// 
					this->btnSizeMedium->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->btnSizeMedium->Location = System::Drawing::Point(35, 139);
					this->btnSizeMedium->Name = L"btnSizeMedium";
					this->btnSizeMedium->Size = System::Drawing::Size(102, 36);
					this->btnSizeMedium->TabIndex = 14;
					this->btnSizeMedium->Text = L"Medium";
					this->btnSizeMedium->UseVisualStyleBackColor = true;
					this->btnSizeMedium->Click += gcnew System::EventHandler(this, &KioskUI::btnSizeMedium_Click);
					// 
					// panelBurgerOptions
					// 
					this->panelBurgerOptions->Controls->Add(this->label2);
					this->panelBurgerOptions->Controls->Add(this->btnAddChickenBurger);
					this->panelBurgerOptions->Controls->Add(this->btnAddBeefBurger);
					this->panelBurgerOptions->Location = System::Drawing::Point(204, 545);
					this->panelBurgerOptions->Name = L"panelBurgerOptions";
					this->panelBurgerOptions->Size = System::Drawing::Size(173, 144);
					this->panelBurgerOptions->TabIndex = 23;
					// 
					// label2
					// 
					this->label2->AutoSize = true;
					this->label2->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 16.5F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->label2->Location = System::Drawing::Point(30, 14);
					this->label2->Name = L"label2";
					this->label2->Size = System::Drawing::Size(125, 26);
					this->label2->TabIndex = 16;
					this->label2->Text = L"What Kind\?";
					// 
					// btnAddChickenBurger
					// 
					this->btnAddChickenBurger->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Regular, 
						System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
					this->btnAddChickenBurger->Location = System::Drawing::Point(35, 55);
					this->btnAddChickenBurger->Name = L"btnAddChickenBurger";
					this->btnAddChickenBurger->Size = System::Drawing::Size(102, 36);
					this->btnAddChickenBurger->TabIndex = 12;
					this->btnAddChickenBurger->Text = L"Chicken";
					this->btnAddChickenBurger->UseVisualStyleBackColor = true;
					this->btnAddChickenBurger->Click += gcnew System::EventHandler(this, &KioskUI::btnAddChickenBurger_Click);
					// 
					// btnAddBeefBurger
					// 
					this->btnAddBeefBurger->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->btnAddBeefBurger->Location = System::Drawing::Point(35, 97);
					this->btnAddBeefBurger->Name = L"btnAddBeefBurger";
					this->btnAddBeefBurger->Size = System::Drawing::Size(102, 36);
					this->btnAddBeefBurger->TabIndex = 13;
					this->btnAddBeefBurger->Text = L"Beef";
					this->btnAddBeefBurger->UseVisualStyleBackColor = true;
					this->btnAddBeefBurger->Click += gcnew System::EventHandler(this, &KioskUI::btnAddBeefBurger_Click);
					// 
					// panelFrySizes
					// 
					this->panelFrySizes->Controls->Add(this->label3);
					this->panelFrySizes->Controls->Add(this->btnSizeJumboFry);
					this->panelFrySizes->Controls->Add(this->btnSizeLargeFry);
					this->panelFrySizes->Controls->Add(this->btnSizeSmallFry);
					this->panelFrySizes->Controls->Add(this->btnSizeMediumFry);
					this->panelFrySizes->Location = System::Drawing::Point(383, 545);
					this->panelFrySizes->Name = L"panelFrySizes";
					this->panelFrySizes->Size = System::Drawing::Size(173, 297);
					this->panelFrySizes->TabIndex = 24;
					// 
					// label3
					// 
					this->label3->AutoSize = true;
					this->label3->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 16.5F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->label3->Location = System::Drawing::Point(13, 14);
					this->label3->Name = L"label3";
					this->label3->Size = System::Drawing::Size(157, 26);
					this->label3->TabIndex = 16;
					this->label3->Text = L"What size Fry\?";
					// 
					// btnSizeJumboFry
					// 
					this->btnSizeJumboFry->BackgroundImageLayout = System::Windows::Forms::ImageLayout::Center;
					this->btnSizeJumboFry->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->btnSizeJumboFry->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"btnSizeJumboFry.Image")));
					this->btnSizeJumboFry->Location = System::Drawing::Point(24, 229);
					this->btnSizeJumboFry->Name = L"btnSizeJumboFry";
					this->btnSizeJumboFry->Size = System::Drawing::Size(123, 55);
					this->btnSizeJumboFry->TabIndex = 12;
					this->btnSizeJumboFry->TextAlign = System::Drawing::ContentAlignment::MiddleRight;
					this->btnSizeJumboFry->UseVisualStyleBackColor = true;
					this->btnSizeJumboFry->Click += gcnew System::EventHandler(this, &KioskUI::btnSizeJumboFry_Click);
					// 
					// btnSizeLargeFry
					// 
					this->btnSizeLargeFry->BackgroundImageLayout = System::Windows::Forms::ImageLayout::Center;
					this->btnSizeLargeFry->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->btnSizeLargeFry->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"btnSizeLargeFry.Image")));
					this->btnSizeLargeFry->Location = System::Drawing::Point(24, 170);
					this->btnSizeLargeFry->Name = L"btnSizeLargeFry";
					this->btnSizeLargeFry->Size = System::Drawing::Size(123, 55);
					this->btnSizeLargeFry->TabIndex = 15;
					this->btnSizeLargeFry->TextAlign = System::Drawing::ContentAlignment::MiddleRight;
					this->btnSizeLargeFry->UseVisualStyleBackColor = true;
					this->btnSizeLargeFry->Click += gcnew System::EventHandler(this, &KioskUI::btnSizeLargeFry_Click);
					// 
					// btnSizeSmallFry
					// 
					this->btnSizeSmallFry->BackgroundImage = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"btnSizeSmallFry.BackgroundImage")));
					this->btnSizeSmallFry->BackgroundImageLayout = System::Windows::Forms::ImageLayout::Center;
					this->btnSizeSmallFry->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->btnSizeSmallFry->Location = System::Drawing::Point(24, 46);
					this->btnSizeSmallFry->Name = L"btnSizeSmallFry";
					this->btnSizeSmallFry->Size = System::Drawing::Size(123, 55);
					this->btnSizeSmallFry->TabIndex = 13;
					this->btnSizeSmallFry->TextAlign = System::Drawing::ContentAlignment::MiddleRight;
					this->btnSizeSmallFry->UseVisualStyleBackColor = true;
					this->btnSizeSmallFry->Click += gcnew System::EventHandler(this, &KioskUI::btnSizeSmallFry_Click);
					// 
					// btnSizeMediumFry
					// 
					this->btnSizeMediumFry->BackgroundImage = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"btnSizeMediumFry.BackgroundImage")));
					this->btnSizeMediumFry->BackgroundImageLayout = System::Windows::Forms::ImageLayout::Center;
					this->btnSizeMediumFry->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->btnSizeMediumFry->Location = System::Drawing::Point(24, 108);
					this->btnSizeMediumFry->Name = L"btnSizeMediumFry";
					this->btnSizeMediumFry->Size = System::Drawing::Size(123, 55);
					this->btnSizeMediumFry->TabIndex = 14;
					this->btnSizeMediumFry->TextAlign = System::Drawing::ContentAlignment::MiddleRight;
					this->btnSizeMediumFry->UseVisualStyleBackColor = true;
					this->btnSizeMediumFry->Click += gcnew System::EventHandler(this, &KioskUI::btnSizeMediumFry_Click);
					// 
					// panelOtherStuff
					// 
					this->panelOtherStuff->Controls->Add(this->label4);
					this->panelOtherStuff->Controls->Add(this->btnOtherSundae);
					this->panelOtherStuff->Controls->Add(this->btnOtherPie);
					this->panelOtherStuff->Controls->Add(this->btnOtherToast);
					this->panelOtherStuff->Location = System::Drawing::Point(559, 541);
					this->panelOtherStuff->Name = L"panelOtherStuff";
					this->panelOtherStuff->Size = System::Drawing::Size(173, 310);
					this->panelOtherStuff->TabIndex = 25;
					// 
					// label4
					// 
					this->label4->AutoSize = true;
					this->label4->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 16.5F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->label4->Location = System::Drawing::Point(18, 14);
					this->label4->Name = L"label4";
					this->label4->Size = System::Drawing::Size(135, 26);
					this->label4->TabIndex = 16;
					this->label4->Text = L"Other Stuff...";
					// 
					// btnOtherSundae
					// 
					this->btnOtherSundae->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->btnOtherSundae->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"btnOtherSundae.Image")));
					this->btnOtherSundae->Location = System::Drawing::Point(30, 219);
					this->btnOtherSundae->Name = L"btnOtherSundae";
					this->btnOtherSundae->Size = System::Drawing::Size(123, 82);
					this->btnOtherSundae->TabIndex = 15;
					this->btnOtherSundae->Text = L"Sundae";
					this->btnOtherSundae->UseVisualStyleBackColor = true;
					this->btnOtherSundae->Click += gcnew System::EventHandler(this, &KioskUI::btnOtherSundae_Click);
					// 
					// btnOtherPie
					// 
					this->btnOtherPie->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->btnOtherPie->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"btnOtherPie.Image")));
					this->btnOtherPie->Location = System::Drawing::Point(30, 43);
					this->btnOtherPie->Name = L"btnOtherPie";
					this->btnOtherPie->Size = System::Drawing::Size(123, 82);
					this->btnOtherPie->TabIndex = 13;
					this->btnOtherPie->Text = L"Pie";
					this->btnOtherPie->UseVisualStyleBackColor = true;
					this->btnOtherPie->Click += gcnew System::EventHandler(this, &KioskUI::btnOtherPie_Click);
					// 
					// btnOtherToast
					// 
					this->btnOtherToast->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->btnOtherToast->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"btnOtherToast.Image")));
					this->btnOtherToast->Location = System::Drawing::Point(30, 131);
					this->btnOtherToast->Name = L"btnOtherToast";
					this->btnOtherToast->Size = System::Drawing::Size(123, 82);
					this->btnOtherToast->TabIndex = 14;
					this->btnOtherToast->Text = L"Toast";
					this->btnOtherToast->UseVisualStyleBackColor = true;
					this->btnOtherToast->Click += gcnew System::EventHandler(this, &KioskUI::btnOtherToast_Click);
					// 
					// panel1
					// 
					this->panel1->Controls->Add(this->label5);
					this->panel1->Controls->Add(this->txtOrderList);
					this->panel1->Location = System::Drawing::Point(12, 170);
					this->panel1->Name = L"panel1";
					this->panel1->Size = System::Drawing::Size(287, 340);
					this->panel1->TabIndex = 27;
					// 
					// label5
					// 
					this->label5->AutoSize = true;
					this->label5->Font = (gcnew System::Drawing::Font(L"Arial Black", 10, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->label5->ForeColor = System::Drawing::Color::Firebrick;
					this->label5->Location = System::Drawing::Point(3, 13);
					this->label5->Name = L"label5";
					this->label5->Size = System::Drawing::Size(106, 19);
					this->label5->TabIndex = 27;
					this->label5->Text = L"Your Order...";
					this->label5->Click += gcnew System::EventHandler(this, &KioskUI::label5_Click);
					// 
					// txtOrderList
					// 
					this->txtOrderList->Location = System::Drawing::Point(8, 35);
					this->txtOrderList->Multiline = true;
					this->txtOrderList->Name = L"txtOrderList";
					this->txtOrderList->ScrollBars = System::Windows::Forms::ScrollBars::Vertical;
					this->txtOrderList->Size = System::Drawing::Size(269, 286);
					this->txtOrderList->TabIndex = 0;
					// 
					// panelQuantity
					// 
					this->panelQuantity->Controls->Add(this->btnConfirm);
					this->panelQuantity->Controls->Add(this->tbxQuantity);
					this->panelQuantity->Controls->Add(this->label6);
					this->panelQuantity->Location = System::Drawing::Point(204, 706);
					this->panelQuantity->Name = L"panelQuantity";
					this->panelQuantity->Size = System::Drawing::Size(173, 166);
					this->panelQuantity->TabIndex = 25;
					// 
					// btnConfirm
					// 
					this->btnConfirm->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->btnConfirm->Location = System::Drawing::Point(21, 97);
					this->btnConfirm->Name = L"btnConfirm";
					this->btnConfirm->Size = System::Drawing::Size(129, 57);
					this->btnConfirm->TabIndex = 17;
					this->btnConfirm->Text = L"Confirm Order";
					this->btnConfirm->UseVisualStyleBackColor = true;
					this->btnConfirm->Click += gcnew System::EventHandler(this, &KioskUI::btnConfirm_Click);
					// 
					// tbxQuantity
					// 
					this->tbxQuantity->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(128)));
					this->tbxQuantity->Location = System::Drawing::Point(21, 55);
					this->tbxQuantity->Name = L"tbxQuantity";
					this->tbxQuantity->Size = System::Drawing::Size(129, 29);
					this->tbxQuantity->TabIndex = 17;
					this->tbxQuantity->Text = L"1";
					// 
					// label6
					// 
					this->label6->AutoSize = true;
					this->label6->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 16.5F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->label6->Location = System::Drawing::Point(23, 14);
					this->label6->Name = L"label6";
					this->label6->Size = System::Drawing::Size(127, 26);
					this->label6->TabIndex = 16;
					this->label6->Text = L"How Many\?";
					// 
					// btnCompleteOrder
					// 
					this->btnCompleteOrder->BackgroundImage = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"btnCompleteOrder.BackgroundImage")));
					this->btnCompleteOrder->BackgroundImageLayout = System::Windows::Forms::ImageLayout::None;
					this->btnCompleteOrder->Font = (gcnew System::Drawing::Font(L"Arial", 18, static_cast<System::Drawing::FontStyle>((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Underline)), 
						System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
					this->btnCompleteOrder->Location = System::Drawing::Point(359, 332);
					this->btnCompleteOrder->Name = L"btnCompleteOrder";
					this->btnCompleteOrder->Size = System::Drawing::Size(257, 58);
					this->btnCompleteOrder->TabIndex = 29;
					this->btnCompleteOrder->Text = L"Complete Order";
					this->btnCompleteOrder->TextAlign = System::Drawing::ContentAlignment::MiddleRight;
					this->btnCompleteOrder->UseVisualStyleBackColor = true;
					this->btnCompleteOrder->Click += gcnew System::EventHandler(this, &KioskUI::btnCompleteOrder_Click);
					// 
					// panelWelcome
					// 
					this->panelWelcome->Controls->Add(this->label17);
					this->panelWelcome->Controls->Add(this->pictureBox2);
					this->panelWelcome->Controls->Add(this->btnChinese);
					this->panelWelcome->Controls->Add(this->button2);
					this->panelWelcome->Controls->Add(this->label8);
					this->panelWelcome->Controls->Add(this->label7);
					this->panelWelcome->Location = System::Drawing::Point(794, 545);
					this->panelWelcome->Name = L"panelWelcome";
					this->panelWelcome->Size = System::Drawing::Size(808, 523);
					this->panelWelcome->TabIndex = 30;
					// 
					// label17
					// 
					this->label17->AutoSize = true;
					this->label17->Font = (gcnew System::Drawing::Font(L"Arial Black", 10, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->label17->ForeColor = System::Drawing::Color::Firebrick;
					this->label17->Location = System::Drawing::Point(319, 296);
					this->label17->Name = L"label17";
					this->label17->Size = System::Drawing::Size(119, 19);
					this->label17->TabIndex = 34;
					this->label17->Text = L"Powered By....";
					// 
					// pictureBox2
					// 
					this->pictureBox2->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"pictureBox2.Image")));
					this->pictureBox2->Location = System::Drawing::Point(368, 319);
					this->pictureBox2->Name = L"pictureBox2";
					this->pictureBox2->Size = System::Drawing::Size(258, 106);
					this->pictureBox2->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
					this->pictureBox2->TabIndex = 33;
					this->pictureBox2->TabStop = false;
					// 
					// btnChinese
					// 
					this->btnChinese->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->btnChinese->Location = System::Drawing::Point(171, 97);
					this->btnChinese->Name = L"btnChinese";
					this->btnChinese->Size = System::Drawing::Size(130, 36);
					this->btnChinese->TabIndex = 31;
					this->btnChinese->Text = L"中文";
					this->btnChinese->UseVisualStyleBackColor = true;
					this->btnChinese->Click += gcnew System::EventHandler(this, &KioskUI::btnChinese_Click);
					// 
					// button2
					// 
					this->button2->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->button2->Location = System::Drawing::Point(35, 97);
					this->button2->Name = L"button2";
					this->button2->Size = System::Drawing::Size(130, 36);
					this->button2->TabIndex = 30;
					this->button2->Text = L"English";
					this->button2->UseVisualStyleBackColor = true;
					this->button2->Click += gcnew System::EventHandler(this, &KioskUI::btnEnglish);
					// 
					// label8
					// 
					this->label8->AutoSize = true;
					this->label8->Font = (gcnew System::Drawing::Font(L"Arial Black", 10, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->label8->ForeColor = System::Drawing::Color::Firebrick;
					this->label8->Location = System::Drawing::Point(52, 65);
					this->label8->Name = L"label8";
					this->label8->Size = System::Drawing::Size(215, 19);
					this->label8->TabIndex = 29;
					this->label8->Text = L"Please choose a language\?";
					// 
					// label7
					// 
					this->label7->AutoSize = true;
					this->label7->Font = (gcnew System::Drawing::Font(L"Arial Black", 15, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->label7->ForeColor = System::Drawing::Color::Firebrick;
					this->label7->Location = System::Drawing::Point(4, 12);
					this->label7->Name = L"label7";
					this->label7->Size = System::Drawing::Size(292, 28);
					this->label7->TabIndex = 28;
					this->label7->Text = L"Welcome To Kiosk King!!!";
					// 
					// panelDone
					// 
					this->panelDone->Controls->Add(this->label16);
					this->panelDone->Controls->Add(this->pictureBox1);
					this->panelDone->Controls->Add(this->lblOrderNo);
					this->panelDone->Controls->Add(this->label9);
					this->panelDone->Controls->Add(this->label10);
					this->panelDone->Location = System::Drawing::Point(794, 12);
					this->panelDone->Name = L"panelDone";
					this->panelDone->Size = System::Drawing::Size(808, 523);
					this->panelDone->TabIndex = 31;
					// 
					// label16
					// 
					this->label16->AutoSize = true;
					this->label16->Font = (gcnew System::Drawing::Font(L"Arial Black", 10, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->label16->ForeColor = System::Drawing::Color::Firebrick;
					this->label16->Location = System::Drawing::Point(319, 320);
					this->label16->Name = L"label16";
					this->label16->Size = System::Drawing::Size(119, 19);
					this->label16->TabIndex = 32;
					this->label16->Text = L"Powered By....";
					// 
					// pictureBox1
					// 
					this->pictureBox1->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"pictureBox1.Image")));
					this->pictureBox1->Location = System::Drawing::Point(368, 343);
					this->pictureBox1->Name = L"pictureBox1";
					this->pictureBox1->Size = System::Drawing::Size(258, 106);
					this->pictureBox1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
					this->pictureBox1->TabIndex = 31;
					this->pictureBox1->TabStop = false;
					// 
					// lblOrderNo
					// 
					this->lblOrderNo->AutoSize = true;
					this->lblOrderNo->Font = (gcnew System::Drawing::Font(L"Arial Black", 10, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->lblOrderNo->ForeColor = System::Drawing::Color::Firebrick;
					this->lblOrderNo->Location = System::Drawing::Point(297, 125);
					this->lblOrderNo->Name = L"lblOrderNo";
					this->lblOrderNo->Size = System::Drawing::Size(14, 19);
					this->lblOrderNo->TabIndex = 30;
					this->lblOrderNo->Text = L"-";
					// 
					// label9
					// 
					this->label9->AutoSize = true;
					this->label9->Font = (gcnew System::Drawing::Font(L"Arial Black", 10, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->label9->ForeColor = System::Drawing::Color::Firebrick;
					this->label9->Location = System::Drawing::Point(104, 125);
					this->label9->Name = L"label9";
					this->label9->Size = System::Drawing::Size(179, 19);
					this->label9->TabIndex = 29;
					this->label9->Text = L"Your Order Number is:";
					// 
					// label10
					// 
					this->label10->AutoSize = true;
					this->label10->Font = (gcnew System::Drawing::Font(L"Arial Black", 15, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point, 
						static_cast<System::Byte>(0)));
					this->label10->ForeColor = System::Drawing::Color::Firebrick;
					this->label10->Location = System::Drawing::Point(27, 19);
					this->label10->Name = L"label10";
					this->label10->Size = System::Drawing::Size(411, 28);
					this->label10->TabIndex = 28;
					this->label10->Text = L"Thank you for choosing Kiosk King!!!";
					// 
					// timerDone
					// 
					this->timerDone->Interval = 4000;
					this->timerDone->Tick += gcnew System::EventHandler(this, &KioskUI::timerDone_Tick);
					// 
					// KioskUI
					// 
					this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
					this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
					this->BackColor = System::Drawing::SystemColors::ButtonHighlight;
					this->ClientSize = System::Drawing::Size(673, 523);
					this->Controls->Add(this->panelDone);
					this->Controls->Add(this->panelWelcome);
					this->Controls->Add(this->btnCompleteOrder);
					this->Controls->Add(this->panelQuantity);
					this->Controls->Add(this->panelOtherStuff);
					this->Controls->Add(this->panelFrySizes);
					this->Controls->Add(this->panelBurgerOptions);
					this->Controls->Add(this->panelDrinkSizes);
					this->Controls->Add(this->panelMain);
					this->Controls->Add(this->panel1);
					this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::FixedToolWindow;
					this->Name = L"KioskUI";
					this->Text = L"DTOK Customer Kiosk Station";
					this->Load += gcnew System::EventHandler(this, &KioskUI::KioskUI_Load);
					this->panelMain->ResumeLayout(false);
					this->panelMain->PerformLayout();
					this->panelDrinkSizes->ResumeLayout(false);
					this->panelDrinkSizes->PerformLayout();
					this->panelBurgerOptions->ResumeLayout(false);
					this->panelBurgerOptions->PerformLayout();
					this->panelFrySizes->ResumeLayout(false);
					this->panelFrySizes->PerformLayout();
					this->panelOtherStuff->ResumeLayout(false);
					this->panelOtherStuff->PerformLayout();
					this->panel1->ResumeLayout(false);
					this->panel1->PerformLayout();
					this->panelQuantity->ResumeLayout(false);
					this->panelQuantity->PerformLayout();
					this->panelWelcome->ResumeLayout(false);
					this->panelWelcome->PerformLayout();
					(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox2))->EndInit();
					this->panelDone->ResumeLayout(false);
					this->panelDone->PerformLayout();
					(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox1))->EndInit();
					this->ResumeLayout(false);

				}
#pragma endregion

//////////////////////////////// MAIN BUTTONS ////////////////////////////
private: System::Void btnDrinks_Click(System::Object^  sender, System::EventArgs^  e) {
                         panelDrinkSizes->Location = Point(80,0);
                         panelMain->Enabled = false;
                         
                         //btnDrinks->BackColor = Color::SlateBlue;
                 }

private: System::Void btnFries_Click(System::Object^  sender, System::EventArgs^  e) {
                         panelFrySizes->Location = Point(80,0);
                         panelMain->Enabled = false;
                 }
private: System::Void btnBurgers_Click(System::Object^  sender, System::EventArgs^  e) {
                         panelBurgerOptions->Location = Point(80,0);
                         panelMain->Enabled = false;
                 }
private: System::Void btnCombos_Click(System::Object^  sender, System::EventArgs^  e) {
                 }
private: System::Void btnOther_Click(System::Object^  sender, System::EventArgs^  e) {
                         panelOtherStuff->Location = Point(80,0);
                         panelMain->Enabled = false;
                 }


//////////////////////////////// DRINK BUTTONS ////////////////////////////

private: System::Void btnSizeKids_Click(System::Object^  sender, System::EventArgs^  e) {
                         panelDrinkSizes->Location = Point(0,600);
                         panelQuantity->Location = Point(80, 0);

                         foodItem = KidsDrink;
                 }
private: System::Void btnSizeSmall_Click(System::Object^  sender, System::EventArgs^  e) {
                         panelDrinkSizes->Location = Point(0,600);
                         panelQuantity->Location = Point(80, 0);

                         foodItem = SmallDrink;
                 }
private: System::Void btnSizeMedium_Click(System::Object^  sender, System::EventArgs^  e) {
                         panelDrinkSizes->Location = Point(0,600);
                         panelQuantity->Location = Point(80, 0);

                         foodItem = MedDrink;
                 }
private: System::Void btnSizeLarge_Click(System::Object^  sender, System::EventArgs^  e) {
                         panelDrinkSizes->Location = Point(0,600);
                         panelQuantity->Location = Point(80, 0);

                         foodItem = LargeDrink;
                 }
//////////////////////////////// BURGER BUTTONS ////////////////////////////

private: System::Void btnAddChickenBurger_Click(System::Object^  sender, System::EventArgs^  e) {
                         panelBurgerOptions->Location = Point(0,600);
                         panelQuantity->Location = Point(80, 0);

                         foodItem = ChickenBurger;
                 }
private: System::Void btnAddBeefBurger_Click(System::Object^  sender, System::EventArgs^  e) {
                         panelBurgerOptions->Location = Point(0,600);
                         panelQuantity->Location = Point(80, 0);

                         foodItem = BeefBurger;
                 }


//////////////////////////////// FRY BUTTONS ////////////////////////////

private: System::Void btnSizeSmallFry_Click(System::Object^  sender, System::EventArgs^  e) {
                         panelFrySizes->Location = Point(0,600);
                         panelQuantity->Location = Point(80, 0);

                         foodItem = SmallFry;
                 }
private: System::Void btnSizeMediumFry_Click(System::Object^  sender, System::EventArgs^  e) {
                         panelFrySizes->Location = Point(0,600);
                         panelQuantity->Location = Point(80, 0);

                         foodItem = MedFry;
                 }
private: System::Void btnSizeLargeFry_Click(System::Object^  sender, System::EventArgs^  e) {
                         panelFrySizes->Location = Point(0,600);
                         panelQuantity->Location = Point(80, 0);

                         foodItem = LargeFry;
                 }
private: System::Void btnSizeJumboFry_Click(System::Object^  sender, System::EventArgs^  e) {
                         panelFrySizes->Location = Point(0,600);
                         panelQuantity->Location = Point(80, 0);

                         foodItem = JumboFry;
                 }

 //////////////////////////////// OTHER STUFF BUTTONS ////////////////////////////              

private: System::Void btnOtherPie_Click(System::Object^  sender, System::EventArgs^  e) {
                         panelOtherStuff->Location = Point(0,600);
                         panelQuantity->Location = Point(80, 0);

                         foodItem = OtherPie;
                 }
private: System::Void btnOtherToast_Click(System::Object^  sender, System::EventArgs^  e) {
                         panelOtherStuff->Location = Point(0,600);
                         panelQuantity->Location = Point(80, 0);

                         foodItem = OtherToast;
                 }
private: System::Void btnOtherSundae_Click(System::Object^  sender, System::EventArgs^  e) {
                         panelOtherStuff->Location = Point(0,600);
                         panelQuantity->Location = Point(80, 0);

                         foodItem = OtherSundae;
                 }

                 System::Void UpdateOrderList(){
                         txtOrderList->Text =  gcnew String(order->GetCartAsTextList().c_str());
                 }
//////////////////////////////// Confirm Order BUTTONS ////////////////////////////
private: System::Void btnConfirm_Click(System::Object^  sender, System::EventArgs^  e) {
                         panelQuantity->Location = Point(0, 600);
                         panelMain->Enabled = true;

                         //add item to the order
                         order->AddItemToOrder(foodItem, System::Convert::ToInt32(this->tbxQuantity->Text));
                         //update the display
                         UpdateOrderList();
                 }
private: System::Void lblWelcome_Click(System::Object^  sender, System::EventArgs^  e) {
		 }
private: System::Void label5_Click(System::Object^  sender, System::EventArgs^  e) {
		 }
////////////////////////////////Language Change BUTTON & Function//////////////////////////////////

private: System::Void KioskUI_Load(System::Object^  sender, System::EventArgs^  e) {
				panelWelcome->Location = Point(0,0);
		 }
private: System::Void btnCompleteOrder_Click(System::Object^  sender, System::EventArgs^  e) {
			 
				order->AddToQueue();
				panelDone->Location = Point(0,0);
				order->DumpOrderToFile();

				//show Thank you window
				lblOrderNo->Text = order->orderNumber.ToString();
				order = new Order();
				txtOrderList->Clear();
				timerDone->Enabled = true;
		 }

private: System::Void timerDone_Tick(System::Object^  sender, System::EventArgs^  e) {
				timerDone->Enabled = false;	
	
				//show welcome window
				panelDone->Location = Point(1000,0);
				panelWelcome->Location = Point(0,0);
		 }

private: System::Void btnEnglish(System::Object^  sender, System::EventArgs^  e) {
				this->btnBurgers->Text = L"Burgers";
				this->lblWelcome->Text = L"MENU";
				this->btnFries->Text = L"Fries";
				this->btnCombos->Text = L"Combos";
				this->btnOther->Text = L"Other";
				this->btnDrinks->Text = L"Drinks";
				this->label1->Text = L"What size drink\?";
				this->label2->Text = L"What Kind\?";
				this->label3->Text = L"What size Fry\?";
				this->label4->Text = L"Other Stuff...";
				this->label6->Text = L"How Many\?";
				this->btnSizeKids->Text = L"Kids";
				this->btnSizeLargeDrink->Text = L"Large";
				this->btnSizeMedium->Text = L"Medium";
				this->btnSizeSmall->Text = L"Small";
				this->btnAddChickenBurger->Text = L"Chicken";
				this->btnAddBeefBurger->Text = L"Beef";
				this->btnSizeJumboFry->Text = L"Jumbo";
				this->btnSizeLargeFry->Text = L"Large";
				this->btnSizeSmallFry->Text = L"Small";
				this->btnSizeMediumFry->Text = L"Medium";
				this->btnOtherSundae->Text = L"Sundae";
				this->btnOtherToast->Text = L"Toast";
				this->btnOtherPie->Text = L"Pie";
				this->btnConfirm->Text = L"Confirm Order";

			 	// hide welcome window 	
				panelWelcome->Location = Point(1000,0);
		 }
private: System::Void btnChinese_Click(System::Object^  sender, System::EventArgs^  e) {
				this->btnBurgers->Text = L"漢堡";
				this->lblWelcome->Text = L"菜單";
				this->btnFries->Text = L"薯條";
				this->btnCombos->Text = L"套餐";
				this->btnOther->Text = L"其他";
				this->btnDrinks->Text = L"飲料";
				this->label1->Text = L"飲料大小\?";
				this->label2->Text = L"肉的種類\?";
				this->label3->Text = L"薯條大小\?";
				this->label4->Text = L"其他選項";
				this->label6->Text = L"數量\?";
				this->btnSizeKids->Text = L"兒童杯";
				this->btnSizeLargeDrink->Text = L"大杯";
				this->btnSizeMedium->Text = L"中杯";
				this->btnSizeSmall->Text = L"小杯";
				this->btnAddChickenBurger->Text = L"雞肉";
				this->btnAddBeefBurger->Text = L"牛肉";
				this->btnSizeJumboFry->Text = L"加大";
				this->btnSizeLargeFry->Text = L"大薯";
				this->btnSizeSmallFry->Text = L"小薯";
				this->btnSizeMediumFry->Text = L"中薯";
				this->btnOtherSundae->Text = L"聖代";
				this->btnOtherToast->Text = L"烤土司";
				this->btnOtherPie->Text = L"頻果派";
				this->btnConfirm->Text = L"餐點確定";

			 	// hide welcome window 	
				panelWelcome->Location = Point(1000,0);
		 }

};
}
